﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="WebApplication1.details1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="Styles/DetailsStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="SqlDataSource1" AllowSorting="True" CssClass="detailsgv" >
            <Columns>
                <asp:BoundField DataField="Skin_Care_Center_Name" 
                    HeaderText="Skin_Care_Center_Name" SortExpression="Skin_Care_Center_Name" />
                <asp:BoundField DataField="Postcode" HeaderText="Postcode" 
                    SortExpression="Postcode" />
                <asp:BoundField DataField="Skin_Care_Physician" 
                    HeaderText="Skin_Care_Physician" SortExpression="Skin_Care_Physician" />
                <asp:BoundField DataField="Physician_Details" HeaderText="Physician_Details" 
                    SortExpression="Physician_Details" />
                <asp:BoundField DataField="Consult_fee" HeaderText="Consult_fee" 
                    SortExpression="Consult_fee" />
                <asp:BoundField DataField="Rating_Stars" HeaderText="Rating_Stars" 
                    SortExpression="Rating_Stars" />
                <asp:BoundField DataField="Phone_Number" HeaderText="Phone_Number" 
                    SortExpression="Phone_Number" />
                <asp:ImageField DataImageUrlField="Care_Center_Images" HeaderText="Thumbnail">
                    <ControlStyle CssClass="skincare" width="100px" Height="100px"/>
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SkinConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:SkinConnectionString.ProviderName %>" 
            SelectCommand="SELECT [ID], [Skin Care Center Name] AS Skin_Care_Center_Name, [Postcode], [Skin Care Physician] AS Skin_Care_Physician, [Physician Details] AS Physician_Details, [Care Center Images] AS Care_Center_Images, [Consult fee] AS Consult_fee, [Rating Stars] AS Rating_Stars, [Phone Number] AS Phone_Number FROM [skin care] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
    </p>
</asp:Content>
